-
SELECT CustomerName, COUNT (CustomerName) FROM ORDER BY OrdersName CustomerName
-
SELECT CustomerName, COUNT (CustomerName) FROM Orders GROUP BY CustomerName
-
SELECT CustomerName, COUNT (CustomerName) FROM Orders
[QUIZ] Test your understanding of SQL - Part 5
Multiple-choice questions on SQL help you familiarize and review useful knowledge for work and learning SQL language.
-
Question 1: Which of the following SQL statements has the correct syntax?
-
Question 2: Which of the following SQL statements has the correct syntax?
-
SELECT * FROM Table1 WHERE Column1 = = 10
-
SELECT * FROM Table1 WHERE Column1 => 10
-
SELECT * FROM Table1 WHERE Column1> = 10
-
-
Question 3: Which SQL statements insert data into the Projects table?
-
SAVE INTO Projects (ProjectName, ProjectDescription) VALUES ('Content Development', 'Website content development project')
-
INSERT Projects VALUES ('Content Development', 'Website content development project')
-
INSERT Projects ('Content Development', 'Website content development project')
-
INSERT INTO Projects (ProjectName, ProjectDescription) VALUES ('Content Development', 'Website content development project')
-
-
Question 4: Which of the following SQL statements has the correct syntax?
-
SELECT Username, Password WHERE Username = 'user1'
-
SELECT Username AND Password FROM Users
-
SELECT Username, Password FROM Users
-
-
Question 5: Which SQL keyword is used to only retrieve unique values?
-
DISTINCTIVE
-
UNIQUE
-
DISTINCT
-
DIFFERENT
-
-
What does sentence 6: VIEW mean in SQL?
-
Is a database diagram.
-
A virtual table in a database with content defined through a certain SQL statement.
-
Is a stored procedure specifically performed when certain events occur.
-
-
Question 7: Which international standard does SQL meet?
-
Only ISO (International Organization for Standardization)
-
Only meet ANSI (American National Standards Institute) standards
-
Meets both ISO and ANSI standards
-
-
Question 8: What does DML mean?
-
Different Mode Level
-
Data Manipulation language
-
Data Mode Lane
-
Data Model Language
-
-
Question 9: Which of the following SQL statements will generate errors when executing?
-
CREATE DATABASE students
-
CREATE DATABASE students;
-
tạo cơ sở dữ liệu nếu không có viên
-
IF NOT EXISTS CREATE DATABASE STUDENTS;
-
-
Question 10: The ORDER clause is used to sort records in ascending or descending order.
-
It's correct
-
False
-
-
Question 11: Which of the following statements will successfully execute?
-
SELECT customer FROM customer_name;
-
SELECT FROM customers customer name;
-
SELECT customer_name FROM customers ORDER BY zone WHERE cat_id = 12;
-
SELECT customer_name FROM customers WHERE cat_id = 12 ORDER BY cat_id;
-
-
Question 12: GROUP BY command cannot be used with aggregation functions.
-
It's correct
-
False
-
-
Question 13: In the following functions, what is the aggregate function in SQL?
-
CURDATE ()
-
COUNT
-
AVERAGE
-
MAXIMUM
-
-
Question 14: The UNION command is used to combine results from multiple queries into a result set.
-
It's correct
-
False
-
-
Question 15: What is the correct order of the ">" and "=" operators when you want to specify greater or equal search conditions?
-
> =
-
=>
-
Both answers are correct
-
4 ★ | 1 Vote
Read More
- [QUIZ] Test your understanding of SQL - Part 6
- [QUIZ] Test your understanding of SQL - Part 3
- [QUIZ] Check your understanding of SQL - Part 2
- Test of technology terminology - Part 11
- [QUIZ] Test your understanding of SQL - Part 4
- eQuiz - Quiz on Core Java - Part 2
- eQuiz - VB.NET testing test - Part 2
- Multiple choice quiz about Python - Part 4
- Multiple choice quiz about Python - Part 10
- eQuiz - Quiz on Core Java - Part 1
- Excel computer test - Part 3
- eQuiz - Multiple choice test on PHP Practice - part 1
- eQuiz - Multiple choice test on programming language C - part 1
- The test has a Word answer - Part 7